<?php
// +----------------------------
// | Created by PhpStorm
// +----------------------------
// | Author: YnnSon
// +----------------------------
namespace app\api\validate;

/**
 * 获取Token的Code参数验证
 * Class CodeValidate
 * @package app\api\validate
 */
class CodeValidate extends BaseValidate
{
    protected $rule = [
        ['code', 'require|isNotEmpty', 'code不存在|code不能为空'],
    ];
}